/-docs
/-editor
/-files
/-files-old
/-imports
/-layout
/-storage
/-tests ...
/-tests/files
FileList.ts
/-tests/storage
/-tests/storage/attached
AttachedStorageTests.ts
DomStorageTests.ts
IndexedDBStorageTests.ts
LocalStorageStorageTests.ts
WebSQLStorageTests.ts
TestCase.html
TestCase.ts
TestPage.css
TestPage.html
TestPage.ts
_sampleTests.ts
teapo-tests.html
teapo-tests.ts
/-typings
codemirror.d.ts
knockout.d.ts
typescriptServices.d.ts
websql.d.ts
zip.js.d.ts
TypeScriptService.ts
functions.ts
ko.ts
persistence.api.ts
persistence.ts
shell.ts
teapo.html
teapo.ts
42
 
1
<!doctype html>
2
<html>
3
<head>
4
<title>Teapo tests v0.4h</title>
5
<meta name="viewport" content="width=800">
6
<style data-path='/tests/TestPage.css'>###tests/TestPage.css###</style>
7
</head>
8
<body>
9
10
11
<!-- Knockout HTML templates -->
12
<script id=TestPage data-path='/tests/TestPage.html' type='text/html'>###tests/TestPage.html###</script>
13
<script id=TestCase data-path='/tests/TestCase.html' type='text/html'>###tests/TestCase.html###</script>
14
15
16
<!--Knockout and CodeMirror (latter needed for execution of some static init code)-->
17
<script data-path='/imports/codemirror/codemirror.js'>###imports/codemirror/codemirror.js###</script>
18
<script data-path='/imports/knockout/knockout-3.0.0.js'>###imports/knockout/knockout-3.0.0.js###</script>
19
20
<script id=teapo-script>###teapo.ts:build###</script>
21
22
<!-- stick it in late, so all the script errors have valid line numbers -->
23
<div class=teapo-page></div>
24
25
<script>
26
  var teapo;
27
  if (!teapo || !teapo.testApp || !teapo.testApp.run) {
28
    alert('teapo.testApp undefined');
29
//     try {
30
      var teapoScript = document.getElementById('teapo-script');
31
      eval(teapoScript.innerHTML);
32
//     }
33
//     catch (error) {
34
//       alert(error.message+' '+(error.stack ? error.stack : error));
35
//     }
36
  }
37
  else {
38
    teapo.testApp.run();
39
  }
40
</script>
41
42
</body>
2:0